package com.hsteach.web.controller.cookmenu.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "ImportDishDto", description = "导入菜品")
@Data
public class ImportDishDto implements Serializable {

    @ApiModelProperty(value = "学期id", required = true)
    private String semId;

    @ApiModelProperty(value = "学期名", required = true)
    private String semName;

    @ApiModelProperty(value = "学期开始日期", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginDay;

    @ApiModelProperty(value = "学期结束日期", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDay;

}
